package service;

import entity.Page;
import entity.PersonalFile;

import java.util.List;

/**
 * @author 孙亚梅
 * @version V1.0
 * @Project javase2203
 * @Package service
 * @Description:
 * @Date 2022/5/27 13:37
 */
public interface PersonalFileService {

    List<PersonalFile> getAll();

    boolean addPersonalFile(PersonalFile personalFile);

   boolean deletePersonFile(String personalFileId);

    PersonalFile getPersonalFile(String personalFileId);

    boolean updatePersonalFile(PersonalFile personalFile);

    /**
     * 工具分页对象，进行分页查询
     * @param page
     * @return
     */
    public List<PersonalFile> findAllPage(Page page);

    /**
     * 分页查询，查询总记录数
     * @return
     */



  public   int finAllPageCount();
}
